
export const statusList = [
    { id: 1, name: '启用' },
    { id: 0, name: '停用' }
];

// 设备运行状态
export const machineStateList = [
	{ id: 1, name: '运行', color: '#19be6b', icon: 'el-icon-warning-outline', count: 0 },
	{ id: 0, name: '待机', color: '#2d8cf0', icon: 'el-icon-warning-outline', count: 0 },
	{ id: -1, name: '关机', color: '#808695', icon: 'el-icon-warning-outline', count: 0 },
	{ id: 2, name: '机台断网', color: '#a97cf6', icon: 'el-icon-video-play', count: 0 },
	{ id: 3, name: '电表断网', color: '#ff9900', icon: 'el-icon-video-pause', count: 0 },
	{ id: 4, name: '操作错误', color: '#F95457', icon: 'el-icon-video-pause', count: 0 }
];
// 销售订单状态
export const saleOrderStateList = [
	{ id: 0, name: '待下达', color: '#808695' },
	{ id: 1, name: '部分下达', color: '#ff9900' },
	{ id: 2, name: '全部下达', color: '#2b85e4' },
	{ id: 3, name: '已完成', color: '#19be6b' }
];
// 销售订单状态
export const recordTypeList = [
	{ id: 0, name: '停机', color: '#F95457' },
	{ id: 1, name: '切班', color: '#a97cf6' },
	{ id: 2, name: '中断/离线', color: '#808695' }
];

// 通知单
export const notificationList = [
	{ id: 0, name: '', color: '#ff4949', count: null },
	{ id: 1, name: '', color: '#ff9900', count: null },
	{ id: 2, name: '', color: '#42d885', count: null }
	// { id: null, name: '全部', color: '#808695', count: null }
];
// 维修状态
export const repairStateList = [
  { id: 0, name: '待接单', color: '#ff9900', count: null },
  { id: 1, name: '维修中', color: '#2b85e4', count: null },
  { id: 2, name: '已完成', color: '#19be6b', count: null }
  // { id: null, name: '全部', color: '#808695', count: null }
];
// 保养状态
export const upkeepStateList = [
	{ id: 0, name: '计划中', color: '#2b85e4' },
	{ id: 1, name: '已到期', color: '#ff9900' },
	{ id: 2, name: '已派工', color: '#19be6b' },
	{ id: 3, name: '已完成', color: '#F95457' }
];
// 保养派工单内项目的状态
export const upkeepOrderItemStateList = [
	{ id: 0, name: '未完成', color: '#ff9900' },
	{ id: 1, name: '已完成', color: '#0bab5b' }
];
// 基础数据状态
export const auditStateList = [
	{ id: 0, name: '待审核', color: '#ff9900' },
	{ id: 1, name: '已审核', color: '#0bab5b' }
];

// 翻改状态
export const openStateList = [
	{ id: 0, name: '待下达', operationName: '待下达', color: '#808695' },
	{ id: 1, name: '已下达', operationName: '待翻改', color: '#ff9900' },
	{ id: 2, name: '已翻改', operationName: '待开台', color: '#2b85e4' },
	{ id: 3, name: '开台中', operationName: '待了机', color: '#0bab5b' },
	{ id: 4, name: '已了机', operationName: '已了机', color: '#F95457' }
];
// 通知单状态
export const noticeStateList = [
	{ id: 0, name: '待下达', color: '#808695' },
	{ id: 1, name: '待开台', color: '#ff9900' },
	{ id: 2, name: '生产中', color: '#2b85e4' },
	{ id: 3, name: '已完成', color: '#19be6b' }
];

// 报工状态
export const reportStateList = [
	{ id: 0, name: '待审核', color: '#808695' },
	{ id: 1, name: '已审核', color: '#19be6b' }
];
// 报工状态
export const packageStateList = [
	{ id: 0, name: '待提交', color: '#808695' },
	{ id: 1, name: '待入库', color: '#19be6b' },
	{ id: 2, name: '已入库', color: '#2b85e4' }
];
// 订单下达状态
export const orderStateList = [
	{ id: 0, name: '待下达', color: '#808695' },
	{ id: 1, name: '部分下达', color: '#ff9900' },
	{ id: 2, name: '全部下达', color: '#2b85e4' },
	{ id: 3, name: '已完成', color: '#19be6b' }
];
// 订单生产状态
export const productionStateList = [
	{ id: 0, name: '待生产', color: '#ff9900' },
	{ id: 1, name: '生产中', color: '#2b85e4' },
	{ id: 2, name: '已完成', color: '#19be6b' }
];

// 订单优先级
export const orderPriorityList = [
	{ id: 0, name: '正常', color: '#2b85e4' },
	{ id: 1, name: '紧急', color: '#ff9900' },
	{ id: 2, name: '非常紧急', color: '#F95457' }
];
// 纺纱类型
export const spinTypeList = [
	{ id: 1, name: '并线', color: '#2b85e4' },
	{ id: 2, name: '单纱', color: '#2b85e4' },
	{ id: 3, name: '粗纱', color: '#2b85e4' }
];
export const directionTwistList = [
	{ id: 0, name: 'S', color: '#2b85e4' },
	{ id: 1, name: 'Z', color: '#2b85e4' }
];
// 排产类型
export const productionTypeList = [
	{ id: 0, name: '正式生产', color: '#2b85e4' },
	{ id: 1, name: '试产打样', color: '#ff9900' }
];

// 后纺计划状态
export const afterPlanStateList = [
	{ id: 0, name: '待下达', operationStatus: 1, operationName: '下达', color: '#808695', icon: 'el-icon-coordinate' },
	{ id: 1, name: '待生产', operationStatus: 0, operationName: '撤回', color: '#ff9900', icon: 'el-icon-top-right' },
	{ id: 2, name: '生产中', operationStatus: 3, operationName: '完工', color: '#2b85e4', icon: 'el-icon-finished' },
	{ id: 3, name: '已完成', operationStatus: 2, operationName: '取消', color: '#19be6b', icon: 'el-icon-close' }
];
// 前纺计划状态
export const foreSpinPlanStateList = [
	{ id: 0, name: '待下达', color: '#808695' },
	{ id: 1, name: '已下达', color: '#ff9900' },
	{ id: 2, name: '生产中', color: '#2b85e4' },
	{ id: 3, name: '已完成', color: '#19be6b' }
];

// 工艺任务状态
export const technologyTaskStateList = [
	{ id: 0, name: '待处理', color: '#808695' },
	{ id: 1, name: '已处理', color: '#19be6b' },
	{ id: 2, name: '已忽略', color: '#ff9900' }
];
// 生产任务任务状态
export const productionTaskStateList = [
	{ id: 0, name: '待处理', color: '#2b85e4' },
	{ id: 1, name: '已处理', color: '#19be6b' },
	{ id: 2, name: '已忽略', color: '#ff9900' },
	{ id: 3, name: '已失效', color: '#808695' }
];
// 细纱生产报告状态
export const xsReportStateList = [
	{ id: -1, name: '故障', color: '#808695' },
	{ id: 0, name: '停车', color: '#F95457' },
	{ id: 1, name: '开车', color: '#ff9900' },
	{ id: 2, name: '运行', color: '#19be6b' },
	{ id: 3, name: '落纱', color: '#2b85e4' }
];
// 坏锭历史记录-锭子状态
export const spinStateList = [
	{ id: 0, name: '正常', color: '#19be6b' },
	{ id: 1, name: '弱捻', color: '#2b85e4' },
	{ id: 4, name: '停锭', color: '#ff9900' },
	{ id: 5, name: '断头', color: '#F95457' },
	{ id: 81, name: '弱捻', color: '#2b85e4' },
	{ id: 80, name: '正常', color: '#19be6b' },
	{ id: 84, name: '停锭', color: '#ff9900' },
	{ id: 85, name: '断头', color: '#F95457' }
];
// 停机类型
export const stopTypeList = [
	{ id: 0, name: '落纱停机', color: '#2d8cf0' },
	{ id: 1, name: '翻改停机', color: '#ff9900' },
	{ id: 2, name: '异常停机', color: '#F95457' },
	{ id: 4, name: '待机', color: '#a97cf6' },
	{ id: 3, name: '离线', color: '#808695' }
];
// 停机状态
export const stopStateList = [
	{ id: 0, name: '停机中', color: '#ff9900' },
	{ id: 1, name: '已复机', color: '#19be6b' }
];
// 通知类型
export const noticeTypeList = [
	{ id: 0, name: '系统通知', color: '#2d8cf0' },
	{ id: 1, name: '公司通知', color: '#19be6b' },
	{ id: 2, name: '生产通知', color: '#a97cf6' }
];
// 通知对象分类
export const noticeTargetCategoryList = [
	{ id: 0, name: '所有人员', color: '#2d8cf0' },
	{ id: 1, name: '指定区域', color: '#19be6b' },
	{ id: 2, name: '指定班组', color: '#a97cf6' }
	// { id: 3, name: '指定人员', color: '#ff9900' }
];
// 菜单分类
export const menuCategoryList = [
	{ id: 1, name: '看板类' },
	{ id: 2, name: '计划类' },
	{ id: 3, name: '生产类' },
	{ id: 4, name: '工艺类' },
	{ id: 5, name: '维保类' },
	{ id: 6, name: '报表类' },
	{ id: 7, name: '其他类' }
];
// 完成
export const overStateList = [
    { id: 0, name: '未完成', color: '#808695' },
    { id: 1, name: '已完成', color: '#19be6b' }
];
